package com.cn.dao;

import com.cn.entity.Role;

import java.sql.Connection;
import java.util.List;

/**
 * @Author Zhou Tao
 * @Date 2024/5/16 10:46
 */
public interface RoleDao {
    /**
     * 获取角色列表
     * @param connection
     * @return
     * @throws Exception
     */
    public List<Role> getRoleList(Connection connection)throws Exception;
}
